]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
panel: Remove .in-overview style class
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 21 Sep 2012 20:16:03 +0000 (22:16 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 21 Nov 2012 12:10:46 +0000 (13:10 +0100)
The panel used to be styled differently in the overview, but
nowadays this is just a left-over.

https://bugzilla.gnome.org/show_bug.cgi?id=684573

js/ui/panel.js

index 65ca664b7f6a467e07d7d612a7bcd7a335edc9be..e7f2c3b46b3a1d0af653ec2cbc1d055e60dd274d 100644 (file)
@@ -966,13 +966,6 @@ const Panel = new Lang.Class({
 
         this.statusArea = {};
 
-        Main.overview.connect('shown', Lang.bind(this, function () {
-            this.actor.add_style_class_name('in-overview');
-        }));
-        Main.overview.connect('hiding', Lang.bind(this, function () {
-            this.actor.remove_style_class_name('in-overview');
-        }));
-
         this.menuManager = new PopupMenu.PopupMenuManager(this);
 
         this._leftBox = new St.BoxLayout({ name: 'panelLeft' });